package com.bkgy.sys.common.constant;

import java.util.HashMap;
import java.util.Map;

/***
 * 配置常量类
 * @author cc
 * @date 2019-01-17
 *
 */
public class CommonConstant {

    public static Integer fault_status = 2002;       //失败状态
    public static Integer success_status = 2000;   //成功状态
    public static Integer status = 3000;

    //系统常量
    public static Map<String, String> constMap = new HashMap<>();

    //缺陷代码与名称
    public static Map<String, String> defectCodeMap = new HashMap<> ();

    //归户代码与名称
    public static Map<String, String> tPdi1870HomeMap = new HashMap<> ();

    //最大轧卷id
    public static final String ROLL_REC_ID = "roll_rec_id";
    //T_PDO_DATA_L3_TCM2280 最大记录
    public static final String TCM2280l3_REC_ID = "tcm2280_pdo_l3_rec_id";
    //T_PDO_DATA_L3_CAL2150 最大记录
    public static String CAL2150l3_REC_ID = "cal2150_pdo_l3_rec_id";
    //T_PDO_DATA_L3_CAL1630 最大记录
    public static String CAL1630l3_REC_ID = "cal1630_pdo_l3_rec_id";
    //T_PDO_DATA_L3_CGL1870 最大记录
    public static String CGL1870l3_REC_ID = "cgl1870_pdo_l3_rec_id";

    public static Map<String, String> crewMap = new HashMap<>();

    static{
        crewMap.put("A","甲");
        crewMap.put("B","乙");
        crewMap.put("C","丙");
        crewMap.put("D","丁");
    }
}
